﻿<Window x:Class="AppReviewerClient.YouTubeLoginView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Upload to youtube" Height="300" Width="300"
        WindowStartupLocation="CenterScreen">
    <Border Padding="5" Background="LightGoldenrodYellow">
        <Grid >
            <Grid.RowDefinitions>
                <RowDefinition Height="76*" />
                <RowDefinition Height="106*" />
                <RowDefinition Height="79*" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="86*" />
                <ColumnDefinition Width="116*" />
                <ColumnDefinition Width="76*" />
            </Grid.ColumnDefinitions>
            <StackPanel Grid.ColumnSpan="3" Grid.RowSpan="3">
                <StackPanel Orientation="Horizontal">
                    <TextBlock Margin="10" FontSize="15" Text="Youtube Account" Width="150" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <TextBlock Text="Username : " Width="150" />
                    <TextBox Text="{Binding Path=Username, UpdateSourceTrigger=PropertyChanged}" MinWidth="150" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <TextBlock Text="Password : " Width="150" />
                    <TextBox x:Name="Password" MinWidth="150" />
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <TextBlock Text="Account : " Width="150" />
                    <TextBox x:Name="Account" MinWidth="150" />
                </StackPanel>
                <TextBlock Foreground="Red" Text="For Security reason the youtube credentials will not be saved to disk ."  TextWrapping="Wrap"/>

            </StackPanel>
            <Button x:Name="LoginCmd" Grid.Row="2" Grid.Column="2" Margin="3">Login</Button>
            <Button x:Name="CancelCmd" Grid.Row="2" Grid.Column="0" Margin="3">Cancel</Button>
        </Grid>
    </Border>
</Window>
